package design_pattern.factory.reflectFactory;

/**
 * @version 1.0.0
 * Created by cyd on 2022-06-06 14:58:18
 * @ClassName : design_pattern.factory.simpleFactory.OperationAdd
 * @Description : 工厂可生产的具体产品
 */
public class OperationAdd extends Operation {


    @Override
    public int operate() {
        int numberA = super.getNumberA();
        int numberB = super.getNumberB();
        return numberA + numberB;
    }
}
